#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2022/10/9 15:02
# @Author  : afraidbenq
# @File    : main.py
# @Software: PyCharm
# @Github  : github/afraidbenq
# @Email   : 329189987@qq.com
# @Desc    :
"""
选择要运行的app
"""
# from common.desired_caps import appium_desired
# from common.multi_desired_caps import multi_appium_desired
from operation.consumer import Consumer

app_config = 'ths_desired_caps.yaml'

if __name__ == '__main__':
    """单设备运行"""

    # driver = appium_desired(app_config)
    c = Consumer(app_config)
    c.standby()

    """多设备运行"""

    # device_dict = {"4723": "127.0.0.1:62001",
    #                }
    # driver_list = multi_appium_desired(app_config, device_dict)
